package co.edu.usbcali.csru.dataaccess.dao;

import co.edu.usbcali.csru.modelo.Persona;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for PersonaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IPersonaDAO {
    public void save(Persona instance);

    public void delete(Persona instance);

    public void update(Persona instance);

    public Persona findById(String id);

    public List<Persona> findByExample(Persona instance);

    public List<Persona> findByProperty(String propertyName, Object value);

    public List<Persona> findAll();

    public List<Persona> findByCriteria(String whereCondition);

    public List<Persona> findPagePersona(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberPersona();

    public List<Persona> findByPerCedula(Object perCedula);

    public List<Persona> findByPerCelular(Object perCelular);

    public List<Persona> findByPerCorreo(Object perCorreo);

    public List<Persona> findByPerPrimerApelli(Object perPrimerApelli);

    public List<Persona> findByPerPrimerNom(Object perPrimerNom);

    public List<Persona> findByPerSegundoApelli(Object perSegundoApelli);

    public List<Persona> findByPerSegundoNom(Object perSegundoNom);

    public List<Persona> findByPerTelefono(Object perTelefono);
    
    public List<Persona> findAll2();
    
    public List<Persona> findAll3();
    
    public List<Persona> findAll4();
    
    public List<Persona> findAll5();
}
